package com.hngy.xpq.android_practice.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class CommOrder {
    public static final String DATABASE_DATA = "db_xpq_comm";
    public static final String DATABASE_TABLE = "xpq_comm";
    public static final int DATABASE_INS = 1;

    public static final String NOTEPAD_ID = "comm_xpq_id";          //商品id
    public static final String NOTEPAD_NAME = "comm_xpq_name";      //商品名
    public static final String NOTEPAD_MER_NAME = "merchant_xpq_name";    //商家名
    public static final String NOTEPAD_TYPES = "comm_xpq_types";    //商品类型
    public static final String NOTEPAD_PRICE = "comm_xpq_price";    //商品价格
    public static final String NOTEPAD_TIME = "comm_xpq_time";      //商品上架日期
    public static final String NOTEPAD_DES = "comm_xpq_des";        //商品描述
    public static final String NOTEPAD_STATUS = "comm_xpq_status";  //商品状态
    public static final String NOTEPAD_PHONE = "comm_xpq_phone";    //联系方式

    public static final String getTimeDate(){
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss");
        Date date = new Date(System.currentTimeMillis());
        return simpleDateFormat.format(date);
    };
}
